package packiging;

public class Emp {
    private int empID;
    private String empName;
    private String sex;
    private int age;
    private String tel;
    private String passWord;
    private int deptID;

    public Emp() {
    }

    public Emp(int empID, String empName, String sex, int age, String tel, String passWord, int deptID) {
        this.empID = empID;
        this.empName = empName;
        this.sex = sex;
        this.age = age;
        this.tel = tel;
        this.passWord = passWord;
        this.deptID = deptID;
    }

    public int getEmpID() {
        return empID;
    }

    public void setEmpID(int empID) {
        this.empID = empID;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public int getDeptID() {
        return deptID;
    }

    public void setDeptID(int deptID) {
        this.deptID = deptID;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empID=" + empID +
                ", empName='" + empName + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", tel='" + tel + '\'' +
                ", passWord='" + passWord + '\'' +
                ", deptID=" + deptID +
                '}';
    }
}
